package org.come.control;

import org.come.Frame.ActivityJframe;
import org.come.Frame.PartnerArenaJframe;
import org.come.action.FromServerAction;
import org.come.bean.OneArenaBean;
import org.come.until.GsonUtil;


public class OneArenaControl implements FromServerAction{

    @Override
    public void controlMessFromServer(String mes, String type) {
        OneArenaBean arenaBean = GsonUtil.getGsonUtil().getgson().fromJson(mes, OneArenaBean.class);
        PartnerArenaJframe.getPartnerArenaJframe().getPartnerArenaMainPanel().showView(arenaBean);
    }

}
